//
//  YYChildRecomendModel.swift
//  STMusic
//
//  Created by stoneobs on 17/4/6.
//  Copyright © 2017年 stoneobs. All rights reserved.
//

import UIKit

class YYChildRecomendModel :NSObject{

    var cover_url:String! = ""//视屏url 6小时过期
    var create_time:String! = ""//10未时间戳
    var id:String! = "" //推荐ID
    var share_url:String! = ""//分享url
    var type:String! = ""
    var user_id:String! = ""
    var user_info:YYuserModel! = YYuserModel()
    var works:YYmusicModel! = YYmusicModel()
    
}
//用户模型
class YYuserModel: NSObject {
    
    var avatar:String? = ""//
    var gender:String? = ""//
    var id:String? = "" //
    var identity_tag:String? = ""//类型，比如 原创音乐人
    var nickname:String? = ""//
    var tutor_id:String? = ""

    
}
//音乐模型
class YYmusicModel: NSObject {
    
    var category:String! = ""// 原创
    var channel_id:String! = ""//
    var cover_photo:String! = "" //背景
    var file_long:String! = ""//
    var goods_id:String! = ""//
    var hashtags:Array<String>?//里面放的流行
    var id:String! = ""//
    var is_like:String! = ""//
    var is_listened:String! = ""//
    var is_paid:String! = ""//
    var is_reward:String! = ""//
    var like_num:String! = ""//
    var online:String! = ""//
    var play_num:String! = ""//
    var recommend_num:String! = ""//
    var type:String! = ""// 1 音频 2 视屏
    var user_id:String! = ""//
    var title:String! = ""//
    var tag_text:String! = ""//
    var words:String? = "";//歌词
    
}
